#!/usr/bin/env python
#
# while statement
#
# http://www.upriss.org.uk/python/session4.html
# 2.1) Modify the program from above so that it asks users to "guess
# the lucky number". If the correct number is guessed the program
# stops, otherwise it continues forever.
# extra comment

lucky_number = 17
answer = -1
while answer != lucky_number:
    answer = int(input("Wat is het lucky_number? "))
    if answer == lucky_number:
       print ("%d is het lucky_number!" % answer)
    else:
       print ("%d is not the right answer! Try again." % answer)
